package com.bnq.logc.task

import com.bnq.logc.action.SendAction


class SendLogTask(val action: SendAction, val dispatcher: com.bnq.logc.LogcDispatcher) : LogTask() {

    override fun execute() {
        if(!action.isValid()) return
        dispatcher.dispatchSendPrinter(action.toMap())
    }

}